package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.HashMap;
import java.util.Map;

//盘点
@Controller
@RequestMapping("/api")
public class StocktakeCtr {


    @RequestMapping(value = "/stocktake/getLogList", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
    @ResponseBody
    public Map<String, Object> getLogList(@RequestBody Map<String, Object> res) {
        Map<String, Object> map = new HashMap<String, Object>();
        Integer start = (Integer) res.get("start");
        Integer limit = (Integer) res.get("limit");
        return map;
    }

}
